import com.sun.jdi.PathSearchingVirtualMachine;

import java.util.Scanner;

public class Test {
    public static void main2(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()){
            String input = scanner.next();
            for (int i=0;i<input.length();i++){
                char ch = input.charAt(i);
                if(Character.isUpperCase(ch)){
                    ch = Character.toLowerCase(ch);
                }
                System.out.println(ch);
            }
            System.out.println();
            scanner.nextLine();
        }
        scanner.close();
    }

        public static void main1(String[] args) {
            Scanner scanner = new Scanner(System.in);
            while (scanner.hasNextInt()) {
                String input = scanner.nextLine();
                String result = input.toLowerCase();
                System.out.println(result);
            }
            scanner.close();
        }

}
